import request from '@/common/request/request.js'
import config from '@/common/config/config.js';
const http = config.env

// 提交打款
export const addVoucherInfo = data => {
	return request({
		url: `${http.baseUrl}/recharge/submit`,
		method: 'POST',
		data
	})
}

// 打款记录
export const voucherRecondInfo = data => {
	return request({
		url: `${http.baseUrl}/recharge/listPage`,
		method: 'GET',
		data
	})
}

// 修改并重新提交
export const changeVoucherInfo = data => {
	return request({
		url: `${http.baseUrl}/recharge/resubmit`,
		method: 'POST',
    data
	})
}
